package com.tedu.service.impl;

import com.tedu.dao.DeptDao;
import com.tedu.dao.impl.DeptDaoImpl;
import com.tedu.entry.Dept;
import com.tedu.service.DeptService;

import java.util.List;

/**
 * Author：毕龙
 * Date: 2023/7/28 10:27
 */
public class DeptServiceImpl implements DeptService {

    private DeptDao deptDao = new DeptDaoImpl();

    @Override
    public List<Dept> selectAllDept() {
        return deptDao.selectAllDept();
    }
}
